import request from '@/utils/request'

// 获取补贴单子奖励列表
export function backList(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminRepaymentProvider/1.0.0/listRepaymentsAdmin.html',
        method: 'post',
        data: query
    })
}

// 医院下拉
export function hospitalList() {
    return request({
        url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/hospitalDropDown.html',
        method: 'post',

    })
}
//导出
export function expotfun(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminRepaymentProvider/1.0.0/exportRepaymentAdmin.html',
        method: 'post',
        data: query,
        responseType: 'blob'
    })
}
//回款单-批量核销
export function batchVerify(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminRepaymentProvider/1.0.0/batchVerify.html',
        method: 'post',
        data: query,
    })
}
// 流水单信息
export function flowRecordList(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminFlowRefundRecordProvider/1.0.0/flowRefundRecordList.html',
        method: 'post',
        data: query
    })
}

// 加入宽限回款单
export function updateRepayment(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminRepaymentProvider/1.0.0/updateRepayment.html',
        method: 'post',
        data: query
    })
}
// 回款单详情
export function getRepaymentDetail(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminRepaymentProvider/1.0.0/getRepaymentDetail.html',
        method: 'post',
        data: query
    })
}
// 回款核销单据
export function approvalRepayment(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminRepaymentProvider/1.0.0/approvalRepayment.html',
        method: 'post',
        data: query
    })
}
